;; appearance-related init

;; lose the UI
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))

(setq inhibit-startup-screen t)
(setq inhibit-startup-echo-area-message "maciek")

(show-paren-mode t)

(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")

;; stuff from https://github.com/emacs-jp/replace-colorthemes
(add-to-list 'custom-theme-load-path
             (file-name-as-directory "~/emacs/site-lisp/replace-colorthemes"))

;; Per-host theme selection.
;;(cond
;; ((string-match "sovereign" system-name) (load-theme 'subdued)))

;; Other themes I like:
;(load-theme 'zenburn t)
;(load-theme 'subdued)
;(load-theme 'tango)
;(load-theme 'julie)

;; Turn off anti-aliasing on Macs, which makes text look so fat.
;; TODO Revisit when switch over to retina displays.
(if (eq system-type 'darwin)
    (progn
      ;; Note bug: http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-10/msg01257.html
      (setq mac-allow-anti-aliasing nil)
      (setq ns-antialias-text nil)
      ;; TODO for some reason the following doesn't take on startup.
      (set-default-font "Terminus-14")))
